package com.ssm.pre.service;

import com.ssm.util.object.InputObject;
import com.ssm.util.object.OutputObject;

public interface WechatMenuService {

	//生成菜单版本号
	void getmenuVersion(InputObject inputObject, OutputObject outputObject)throws Exception;

	//查找相同的菜单版本号
	void selectMenuByVersion(InputObject inputObject, OutputObject outputObject)throws Exception;

	//查询所有的微信自定义菜单
	void queryMenuByList(InputObject inputObject, OutputObject outputObject)throws Exception;

	//添加微信自定义菜单 一级菜单
	void addMenuByOne(InputObject inputObject, OutputObject outputObject)throws Exception;

	//根据ID修改一条记录
	void updateMenuById(InputObject inputObject, OutputObject outputObject)throws Exception;

	//根据ID查询一条记录
	void selectMenuById(InputObject inputObject, OutputObject outputObject)throws Exception;

	//添加微信自定义菜单 二级菜单
	void addMenuByTwo(InputObject inputObject, OutputObject outputObject)throws Exception;

	//发布菜单 更新菜单发布状态
	void updateMenuPublish(InputObject inputObject, OutputObject outputObject)throws Exception;

	//根据ID删除一条菜单记录（联动删除 一级和二级菜单全删）
	void deleteMenuById(InputObject inputObject, OutputObject outputObject)throws Exception;

	//增加自定义菜单时，删除当前菜单项
	void deleteMenus(InputObject inputObject, OutputObject outputObject)throws Exception;


}
